package com.ruoyi.project.cms.taskdelayask.domain;


import com.alibaba.fastjson.annotation.JSONField;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;


public class Delayapply extends BaseEntity {


    private static final long serialVersionUID = 1L;

    private int aid;//申请id
    private String aname;//申请人
    @JSONField(format = "yyyy-MM-dd")
    private Date endDate;//延期时间
    private String cause;//申请原因
    private int astatus;//审批状态
    @JSONField(format = "yyyy-MM-dd")
    private Date cdate;//批复时间
    private String cname;//批复人
    private int id;//任务id
    private String title;//任务标题
    private String content;//任务内容
    private String opinion;//意见
    @JSONField(format = "yyyy-MM-dd")
    private Date startDate;

    public Delayapply() {
    }


    public Delayapply(int aid, String aname, Date endDate, String cause, int astatus, Date cdate, String cname, int id, String title, String content, String opinion, Date startDate) {
        this.aid = aid;
        this.aname = aname;
        this.endDate = endDate;
        this.cause = cause;
        this.astatus = astatus;
        this.cdate = cdate;
        this.cname = cname;
        this.id = id;
        this.title = title;
        this.content = content;
        this.opinion = opinion;
        this.startDate = startDate;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public int getAid() {
        return aid;
    }

    public void setAid(int aid) {
        this.aid = aid;
    }

    public String getAname() {
        return aname;
    }

    public void setAname(String aname) {
        this.aname = aname;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getCause() {
        return cause;
    }

    public void setCause(String cause) {
        this.cause = cause;
    }

    public int getAstatus() {
        return astatus;
    }

    public void setAstatus(int astatus) {
        this.astatus = astatus;
    }

    public Date getCdate() {
        return cdate;
    }

    public void setCdate(Date cdate) {
        this.cdate = cdate;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getOpinion() {
        return opinion;
    }

    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    @Override
    public String toString() {
        return "Delayapply{" +
                "aid=" + aid +
                ", aname='" + aname + '\'' +
                ", endDate=" + endDate +
                ", cause='" + cause + '\'' +
                ", astatus=" + astatus +
                ", cdate=" + cdate +
                ", cname='" + cname + '\'' +
                ", id=" + id +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", opinion='" + opinion + '\'' +
                ", startDate=" + startDate +
                '}';
    }
}
